package com.ljwy.daka.info;

import java.io.Serializable;
import java.util.List;

public class DaKaInfo implements Serializable {


    /**
     * msg : {"code":0,"info":""}
     * data : {"total":2,"per_page":"100","current_page":1,"last_page":1,"next_page_url":null,"prev_page_url":null,"from":1,"to":2,"data":[{"id":1219,"no":"112","cp_name":"CP3朱雀","when":"2020-09-08 08:56:50","name":"名第2"},{"id":1218,"no":"112","cp_name":"CP43","when":"2020-09-07 14:01:12","name":"名第2"}]}
     */

    private MsgBean msg;
    private DataBeanX data;

    public MsgBean getMsg() {
        return msg;
    }

    public void setMsg(MsgBean msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class MsgBean implements Serializable{
        /**
         * code : 0
         * info :
         */

        private int code;
        private String info;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }
    }

    public static class DataBeanX implements Serializable{
        /**
         * total : 2
         * per_page : 100
         * current_page : 1
         * last_page : 1
         * next_page_url : null
         * prev_page_url : null
         * from : 1
         * to : 2
         * data : [{"id":1219,"no":"112","cp_name":"CP3朱雀","when":"2020-09-08 08:56:50","name":"名第2"},{"id":1218,"no":"112","cp_name":"CP43","when":"2020-09-07 14:01:12","name":"名第2"}]
         */

        private int total;
        private String per_page;
        private int current_page;
        private int last_page;
        private Object next_page_url;
        private Object prev_page_url;
        private int from;
        private int to;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getPer_page() {
            return per_page;
        }

        public void setPer_page(String per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public Object getNext_page_url() {
            return next_page_url;
        }

        public void setNext_page_url(Object next_page_url) {
            this.next_page_url = next_page_url;
        }

        public Object getPrev_page_url() {
            return prev_page_url;
        }

        public void setPrev_page_url(Object prev_page_url) {
            this.prev_page_url = prev_page_url;
        }

        public int getFrom() {
            return from;
        }

        public void setFrom(int from) {
            this.from = from;
        }

        public int getTo() {
            return to;
        }

        public void setTo(int to) {
            this.to = to;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable{
            /**
             * id : 1219
             * no : 112
             * cp_name : CP3朱雀
             * when : 2020-09-08 08:56:50
             * name : 名第2
             */

            private int id;
            private String no;
            private String cp_name;
            private String when;
            private String name;
            private boolean isPass = true;
            private String uid;
            private String cp_no;

            public String getCp_no() {
                return cp_no;
            }

            public void setCp_no(String cp_no) {
                this.cp_no = cp_no;
            }


            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }


            public boolean isPass() {
                return isPass;
            }

            public void setPass(boolean pass) {
                isPass = pass;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNo() {
                return no;
            }

            public void setNo(String no) {
                this.no = no;
            }

            public String getCp_name() {
                return cp_name;
            }

            public void setCp_name(String cp_name) {
                this.cp_name = cp_name;
            }

            public String getWhen() {
                return when;
            }

            public void setWhen(String when) {
                this.when = when;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
